// **************************************************************
// Com ++ Framework by the C++ World
// Please report defects: mailto:compp@cplusplusworld.com
// Please visit: http://www.cplusplusworld.com/socketlibrary.html
// **************************************************************

#include "ComPlusPlus/Context.h"

compp::Context::Context () {

  ContextString = "";
}

compp::Context::~Context () {

}

int compp::Context::GetClntPort () {
  return ClntPort;
}

void compp::Context::SetClntPort ( const int &i) {
  ClntPort = i;
}

std::string compp::Context::GetClntIPAddr () {
  return ClntIPAddr;
}

void compp::Context::SetClntIPAddr ( const std::string & s) {
  ClntIPAddr = s; 
}

void compp::Context::SetContextString ( const std::string &context) {
  ContextString = context;
}

const std::string compp::Context::GetContextString ( ) {
  return ContextString ;
}






